package com.jqb.springlab.aop.advisor;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
/**
 * 环绕通知
 * */
public class AopWorkAroundAdvice implements MethodInterceptor {
	@Override
	public Object invoke(MethodInvocation arg0) throws Throwable {
		System.out.println("->before proceed<-");
		Object obj = arg0.proceed();
		System.out.println("->after proceed<-");
		return obj;
	}
}
